[index]

PlayStyle Property

Syntax

For movies:
set the playStyle of <movie> to <default | blocking | reverseOnReplay | overLaid | playForever> [, <default | blocking | reverseOnReplay | overLaid | playForever> ...] For paths: set the playStyle of <path> to <default | blocking | useLegScaling | useLegTiming | reverseOnReplay | playForever> [,<default | blocking | useLegScaling | useLegTiming | reversesOnReplay | playForever> ...] For Sounds: set the playStyle of <sound> to <default | blocking | playForever> Applies to movies, paths, sounds

Description

The playStyle property determines the characteristics of play for a movie, sound, or path. You can set the playStyle property to any combination of styles. Note, though, that setting the playStyle to default implies an absence of any style; consequently, you can't set playStyle to a combination of default and any other style. For movies, sounds, and paths, the playStyle property can be set to blocking (synchronous) or default (asynchronous). With the playback set for blocking, all other scripts are suspended until the movie, sound, or path completes playback. Default playback allows scripts to keep running while the sound, path, or movie is playing. This allows you to play multiple sounds, for example, simultaneously. For movie, paths, and sounds, the playStyle can also be set to playForever. Setting the playStyle to playForever causes a movie, path, or sound to play continuously, overriding playNumber. For movies and paths only, reverseOnReplay indicates the direction of play when playNumber > 1. With reverseOnReplay each replay reverses the direction of the previous play. For movies only, the playStyle property can also be set to a value of overLaid. When playStyle is set to overLaid, objects appear on top of the movie. Setting playStyle to overLaid results in reduced playback performance, and is recommended only for small movies. When the playStyle is not set to overLaid, the movie appears on top of the objects during playback. If no objects or only transparent objects intersect the movie, the overLaid playStyle is unnecessary. For paths only, the playStyle property can also be set to useLegTiming and useLegScaling. UseLegTiming indicates the play will use the durations set for the individual legs rather than the path as a whole. UseLegScaling indicates the play will use the scaling set for the individual legs rather than the path as a whole.

Notes


This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.